//
//  AirPortViewController.m
//  Conference
//
//  Created by chenxin on 12-11-18.
//
//

#import "AirPortViewController.h"
#import "AirInfoViewController.h"
@interface AirPortViewController ()

@end

@implementation AirPortViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)btn_tranAction:(id)sender {
    AirInfoViewController *mAirInfoViewController=[[AirInfoViewController alloc]initWithNibName:@"AirInfoViewController" bundle:nil];
    mAirInfoViewController.airType=@"1";
    [self.navigationController pushViewController:mAirInfoViewController animated:YES];
    [mAirInfoViewController release];
}

- (IBAction)btn_arrAction:(id)sender {
    AirInfoViewController *mAirInfoViewController=[[AirInfoViewController alloc]initWithNibName:@"AirInfoViewController" bundle:nil];
   mAirInfoViewController.airType=@"2";
    [self.navigationController pushViewController:mAirInfoViewController animated:YES];
    [mAirInfoViewController release];
}
@end
